package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:char(32)" json:"password"`
	Tel      string `gorm:"type:char(11)" json:"tel"`
}
type Book struct {
	Title   string `gorm:"type:varchar(30)"`
	Content string `gorm:"type:text"`
	Img     string `gorm:"type:varchar(255)"`
}
